package com.sgb.zhaocai.entity;

import android.text.TextUtils;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * Time:2021/9/6
 * AUTHOR:F_Q
 * Description:
 */
public class PublishDetailEntity implements Serializable {


    private String addrDetail;
    private String addrDetailLat;
    private String addrDetailLng;
    private Integer announce;
    private String applyCompany;
    private String applyCompanyName;
    private List<String> applyDep;
    private String applyUser;
    private String applyUserName;
    private String areaNo;
    private Integer auditStatus;
    private String businessType;
    private String charge;
    private String chargeCompany;
    private String chargeCompanyName;
    private String chargeDepName;
    private String applyDepName;
    private String cityNo;
    private String compNo;
    private String contactTel;
    private String created;
    private CustomFieldDTO customField;
    private String endTime;
    private String engineeringType;
    private List<String> fundSource;
    private String id;
    private String introduce;
    private String materialSummaryLevel;
    private String ownUnitContact;
    private String ownUnitName;
    private String ownUnitPhone;
    private String projectName;
    private String projectPrice;
    private String provinceNo;
    private String startTime;
    private String totalUnit;
    private String projectAddressName;
    private String chargeDep;
    private String otherSource;
    private List<EquipmentListBase> equipmentList;//组合分部分项-设备（需求预告新增：其中的businessPlanItemizedRecordId传1代表没有经营编制系统添加）
    private List<LaborListBase> laborList;//组合分部分项-劳务（其中的businessPlanItemizedRecordId传1代表没有经营编制系统添加）
    private List<MaterialListBase> materialList;//组合分部分项-材料（其中的businessPlanItemizedRecordId传1代表没有经营编制系统添加）
    private List<MechanicalListBase> mechanicalList;//组合分部分项-机械（其中的businessPlanItemizedRecordId传1代表没有经营编制系统添加）
    private List<Object> itemizedList;

    public List<Object> getItemizedList() {
        return itemizedList;
    }

    public void setItemizedList(List<Object> itemizedList) {
        this.itemizedList = itemizedList;
    }

    public List<EquipmentListBase> getEquipmentList() {
        return equipmentList;
    }

    public void setEquipmentList(List<EquipmentListBase> equipmentList) {
        this.equipmentList = equipmentList;
    }

    public List<LaborListBase> getLaborList() {
        return laborList;
    }

    public void setLaborList(List<LaborListBase> laborList) {
        this.laborList = laborList;
    }

    public List<MaterialListBase> getMaterialList() {
        return materialList;
    }

    public void setMaterialList(List<MaterialListBase> materialList) {
        this.materialList = materialList;
    }

    public List<MechanicalListBase> getMechanicalList() {
        return mechanicalList;
    }

    public void setMechanicalList(List<MechanicalListBase> mechanicalList) {
        this.mechanicalList = mechanicalList;
    }

    public String getOtherSource() {
        return otherSource;
    }

    public void setOtherSource(String otherSource) {
        this.otherSource = otherSource;
    }


    public String getApplyDepName() {
        return applyDepName;
    }

    public void setApplyDepName(String applyDepName) {
        this.applyDepName = applyDepName;
    }

    public String getChargeDep() {
        return chargeDep;
    }

    public void setChargeDep(String chargeDep) {
        this.chargeDep = chargeDep;
    }

    public String getProjectAddressName() {
        return projectAddressName;
    }

    public void setProjectAddressName(String projectAddressName) {
        this.projectAddressName = projectAddressName;
    }

    public String getAddrDetail() {
        return addrDetail;
    }

    public void setAddrDetail(String addrDetail) {
        this.addrDetail = addrDetail;
    }

    public String getAddrDetailLat() {
        return addrDetailLat;
    }

    public void setAddrDetailLat(String addrDetailLat) {
        this.addrDetailLat = addrDetailLat;
    }

    public String getAddrDetailLng() {
        return addrDetailLng;
    }

    public void setAddrDetailLng(String addrDetailLng) {
        this.addrDetailLng = addrDetailLng;
    }

    public Integer getAnnounce() {
        return announce;
    }

    public void setAnnounce(Integer announce) {
        this.announce = announce;
    }

    public String getApplyCompany() {
        return applyCompany;
    }

    public void setApplyCompany(String applyCompany) {
        this.applyCompany = applyCompany;
    }

    public String getApplyCompanyName() {
        return applyCompanyName;
    }

    public void setApplyCompanyName(String applyCompanyName) {
        this.applyCompanyName = applyCompanyName;
    }

    public List<String> getApplyDep() {
        return applyDep;
    }

    public void setApplyDep(List<String> applyDep) {
        this.applyDep = applyDep;
    }

    public String getApplyUser() {
        return applyUser;
    }

    public void setApplyUser(String applyUser) {
        this.applyUser = applyUser;
    }

    public String getApplyUserName() {
        return applyUserName;
    }

    public void setApplyUserName(String applyUserName) {
        this.applyUserName = applyUserName;
    }

    public String getAreaNo() {
        return areaNo;
    }

    public void setAreaNo(String areaNo) {
        this.areaNo = areaNo;
    }

    public Integer getAuditStatus() {
        return auditStatus;
    }

    public void setAuditStatus(Integer auditStatus) {
        this.auditStatus = auditStatus;
    }

    public String getBusinessType() {
        return businessType;
    }

    public void setBusinessType(String businessType) {
        this.businessType = businessType;
    }

    public String getCharge() {
        return charge;
    }

    public void setCharge(String charge) {
        this.charge = charge;
    }

    public String getChargeCompany() {
        return chargeCompany;
    }

    public void setChargeCompany(String chargeCompany) {
        this.chargeCompany = chargeCompany;
    }

    public String getChargeCompanyName() {
        return chargeCompanyName;
    }

    public void setChargeCompanyName(String chargeCompanyName) {
        this.chargeCompanyName = chargeCompanyName;
    }

    public String getChargeDepName() {
        return chargeDepName;
    }

    public void setChargeDepName(String chargeDepName) {
        this.chargeDepName = chargeDepName;
    }

    public String getCityNo() {
        return cityNo;
    }

    public void setCityNo(String cityNo) {
        this.cityNo = cityNo;
    }

    public String getCompNo() {
        return compNo;
    }

    public void setCompNo(String compNo) {
        this.compNo = compNo;
    }

    public String getContactTel() {
        return contactTel;
    }

    public void setContactTel(String contactTel) {
        this.contactTel = contactTel;
    }

    public String getCreated() {
        return created;
    }

    public void setCreated(String created) {
        this.created = created;
    }

    public CustomFieldDTO getCustomField() {
        return customField;
    }

    public void setCustomField(CustomFieldDTO customField) {
        this.customField = customField;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public String getEngineeringType() {
        return engineeringType;
    }

    public void setEngineeringType(String engineeringType) {
        this.engineeringType = engineeringType;
    }

    public List<String> getFundSource() {
        return fundSource;
    }

    public void setFundSource(List<String> fundSource) {
        this.fundSource = fundSource;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getIntroduce() {
        return introduce;
    }

    public void setIntroduce(String introduce) {
        this.introduce = introduce;
    }

    public String getMaterialSummaryLevel() {
        return materialSummaryLevel;
    }

    public void setMaterialSummaryLevel(String materialSummaryLevel) {
        this.materialSummaryLevel = materialSummaryLevel;
    }

    public String getOwnUnitContact() {
        return ownUnitContact;
    }

    public void setOwnUnitContact(String ownUnitContact) {
        this.ownUnitContact = ownUnitContact;
    }

    public String getOwnUnitName() {
        return ownUnitName;
    }

    public void setOwnUnitName(String ownUnitName) {
        this.ownUnitName = ownUnitName;
    }

    public String getOwnUnitPhone() {
        return ownUnitPhone;
    }

    public void setOwnUnitPhone(String ownUnitPhone) {
        this.ownUnitPhone = ownUnitPhone;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public String getProjectPrice() {
        if (!TextUtils.isEmpty(projectPrice)){
            BigDecimal big = new BigDecimal(projectPrice);
            big = big.stripTrailingZeros();
            return big.toPlainString();
        }else {
            return "";
        }
    }

    public void setProjectPrice(String projectPrice) {
        this.projectPrice = projectPrice;
    }

    public String getProvinceNo() {
        return provinceNo;
    }

    public void setProvinceNo(String provinceNo) {
        this.provinceNo = provinceNo;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getTotalUnit() {
        return totalUnit;
    }

    public void setTotalUnit(String totalUnit) {
        this.totalUnit = totalUnit;
    }

    public static class CustomFieldDTO {
        private List<CustomBaseBaen> customBase;
        private String projectId;

        public List<CustomBaseBaen> getCustomBase() {
            return customBase;
        }

        public void setCustomBase(List<CustomBaseBaen> customBase) {
            this.customBase = customBase;
        }

        public String getProjectId() {
            return projectId;
        }

        public void setProjectId(String projectId) {
            this.projectId = projectId;
        }
    }
}
